home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8645 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: redstone.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Visual c++ 1.00
  5. Date: 25 Feb 1996 19:48:37 GMT
  6. Organization: Interpath -- Providing Internet access to North Carolina
  7. Message-ID: <4gqeel$jfo@redstone.interpath.net>
  8. References: <824988310snz@seacloud.demon.co.uk>
  9. NNTP-Posting-Host: mercury.interpath.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Ben Ashley (Ben@seacloud.demon.co.uk) wrote:
  13.  
  14. : Basically what I am asking, is how to access the properties of controls you 
  15. : have defined.
  16.  
  17. Oops, you've been caught using the wrong paradigm at the wrong time.
  18.  
  19. Visual Basic and Delphi are based on OBJECTS: things on the screen have
  20. properties and methods. You change these to change the screen.
  21.  
  22. MFC and OWL are based on MESSAGES: you have an application class which
  23. has a message handler for each WM_* message you can receive. This is
  24. like 0.5 steps above the C SDK way of doing things. The big difference
  25. is replacing one central switch with a lot of little functions.
  26.  
  27. And neither the twain shall meet, unless Borland really does add Delphi
  28. stuff to BC++.
  29.  
  30. What you need to do is step back and read Programming Windows by
  31. Charles Petzold and see how they do it the old fashioned way. Then
  32. approach MFC from that standpoint. VB/Delphi know-how is practically
  33. useless.
  34.  
  35. Scott
  36.  
  37.